package com.link.base.base.user.model;

import com.link.core.basic.model.BasicModel;

/**
 * 第三方登录的交互用户model
 *
 * @author 李永锋
 * @date 2019/12/12
 */
public class ThirdLoginDTO extends BasicModel {
    /**官方授权接口code*/
    private String code;
    /**操作类型 登录/绑定*/
    private String state;
    /**应用类型*/
    private String appType;
    /**用户token*/
    private String token;
    /**用户ID*/
    private Long userId;
    /**平台类型*/
    private String platformType;
    /**有效期*/
    private String expiresTime;
    /**用户unionid*/
    private String unionId;
    /**用于刷新用户信息的token*/
    private String refreshToken;
    /**用户名*/
    private String username;
    /**用户openid*/
    private String openId;
    /**用户accessToken*/
    private String accessToken;
    /**是否微信避开二次授权请求标识*/
    private Boolean wxSecAuth = false;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getAppType() {
        return appType;
    }

    public void setAppType(String appType) {
        this.appType = appType;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getPlatformType() {
        return platformType;
    }

    public void setPlatformType(String platformType) {
        this.platformType = platformType;
    }

    public String getExpiresTime() {
        return expiresTime;
    }

    public void setExpiresTime(String expiresTime) {
        this.expiresTime = expiresTime;
    }

    public String getUnionId() {
        return unionId;
    }

    public void setUnionId(String unionId) {
        this.unionId = unionId;
    }

    public String getRefreshToken() {
        return refreshToken;
    }

    public void setRefreshToken(String refreshToken) {
        this.refreshToken = refreshToken;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public String getAccessToken() {
        return accessToken;
    }

    public void setAccessToken(String accessToken) {
        this.accessToken = accessToken;
    }

    public Boolean isWxSecAuth() {
        return wxSecAuth;
    }

    public void setWxSecAuth(Boolean wxSecAuth) {
        this.wxSecAuth = wxSecAuth;
    }
}
